﻿/// <reference name="MicrosoftAjax.js"/>

Type.registerNamespace("YUIAspNet");

YUIAspNet.LineChart = function(element) {
    YUIAspNet.LineChart.initializeBase(this, [element]);
}

YUIAspNet.LineChart.prototype = {
    initialize: function() {
        YUIAspNet.LineChart.callBaseMethod(this, 'initialize');
    },

    initializeChartControl: function(sender, args) {
    
        this._yuiControl = new YAHOO.widget.LineChart(
            this.get_ChartContainer(),
            this.get_DataSource(),
            this._BuildConfig()
        );
    }
}

YUIAspNet.LineChart.registerClass('YUIAspNet.LineChart', YUIAspNet.BaseChart);
